﻿namespace GoodAdmin.System;

/// <summary>
/// 职位服务
/// </summary>
public interface ISysPositionService
{
    /// <summary>
    /// 添加职位
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task AddPosition(PositionAddInput input);

    /// <summary>
    /// 更新职位
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task UpdatePosition(PositionUpdateInput input);
    /// <summary>
    /// 删除职位
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task DeletePosition(List<BaseIdInput> input);
    /// <summary>
    /// 获取职位列表
    /// </summary>
    /// <returns></returns>
    Task<List<SysPosition>> GetPositionList();

    /// <summary>
    /// 分页查询职位
    /// </summary>
    /// <param name="input"></param>
    /// <returns></returns>
    Task<SqlSugarPagedList<SysPosition>> GetPositionPageList(PositionPageInput input);

}
